#include "simple_factory/OperationAdd.hpp"


double OperationAdd::GetResult() const {
    return num1 + num2;
}

double OperationAdd::operator()(double num1, double num2) const {
    return num1 + num2;
}